package com.qk.management.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.business.BusinessFollowDTO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessPoolListDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessByIdVO;
import com.qk.vo.business.BusinessListVO;

public interface BusinessService extends IService<Business> {
    PageResult<BusinessListVO> getBusinessList(BusinessListDTO businessListDTO);

    void addBusiness(Business business);

    void assignBusinessUser(Integer businessId,Integer userId);

    void backToPool(Integer id);

    void toCustomer(Integer id);

    BusinessByIdVO getBusinessById(Integer id);

    void followBusiness(BusinessFollowDTO businessFollowDTO);

    PageResult<Business> getPoolList(BusinessPoolListDTO dto);
}
